package com.cskaoyan.service.wx.llk;

import com.cskaoyan.bean.wx.llk.*;

import java.util.Map;


public interface WxCartService {

    WxItemsBean<WxCart> queryIndex(int id);


    WxItemsBean<WxCart> updateChecked(CheckedBO checkedBO, int id);

    void WxCartupdate(WxCartUpdateBO wxCartUpdateBO);

    void addCart(WxCartAddBO wxCartAddBO, Integer userId);

    WxItemsBean<WxCart> WxCartDelete(Map<String, Integer[]> map, Integer userId);

    CartCheckoutVO WxCartCheckout(Integer cartId, Integer addressId, Integer couponId, Integer grouponRulesId, Integer userId);

    Integer WxCartFastAdd(WxCartAddBO wxCartAddBO, Integer userId);

    Integer WxCartGoodsCount(Integer userId);
}
